[INFO] cloning repository https://github.com/sd166/cryptobox-c
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sd166/cryptobox-c" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsd166%2Fcryptobox-c", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsd166%2Fcryptobox-c'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 15ccf616a3cd190fac96139bc1591d2e905c916c
[INFO] building sd166/cryptobox-c against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsd166%2Fcryptobox-c" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/sd166/cryptobox-c on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/sd166/cryptobox-c
[INFO] finished tweaking git repo https://github.com/sd166/cryptobox-c
[INFO] tweaked toml for git repo https://github.com/sd166/cryptobox-c written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/sd166/cryptobox-c already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/sd166/cryptobox`
[INFO] [stderr]     Updating git repository `https://github.com/sd166/proteus`
[INFO] [stderr]     Updating git repository `https://github.com/wireapp/proteus`
[INFO] [stderr]     Updating git repository `https://github.com/wireapp/hkdf`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cbor-codec v0.7.0
[INFO] [stderr]   Downloaded libsodium-sys v0.0.14
[INFO] [stderr]   Downloaded sodiumoxide v0.0.14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f3bc3769d37403afde3bb35cf9566f857da32c78d5bd3105dd25e5e07f668efc
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f3bc3769d37403afde3bb35cf9566f857da32c78d5bd3105dd25e5e07f668efc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f3bc3769d37403afde3bb35cf9566f857da32c78d5bd3105dd25e5e07f668efc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3bc3769d37403afde3bb35cf9566f857da32c78d5bd3105dd25e5e07f668efc", kill_on_drop: false }`
[INFO] [stdout] f3bc3769d37403afde3bb35cf9566f857da32c78d5bd3105dd25e5e07f668efc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 66d4cc9c0a0baab7c8b5e4ce2998b29b68cbfdb8448fb7152593cbdb89449082
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "66d4cc9c0a0baab7c8b5e4ce2998b29b68cbfdb8448fb7152593cbdb89449082", kill_on_drop: false }`
[INFO] [stderr]    Compiling pkg-config v0.3.9
[INFO] [stderr]    Compiling libc v0.2.20
[INFO] [stderr]    Compiling byteorder v1.0.0
[INFO] [stderr]    Compiling cbor-codec v0.7.0
[INFO] [stderr]    Compiling libsodium-sys v0.0.14
[INFO] [stderr]    Compiling sodiumoxide v0.0.14
[INFO] [stderr]    Compiling hkdf v0.2.0 (https://github.com/wireapp/hkdf?tag=v0.2.0#7aac6e99)
[INFO] [stderr]    Compiling proteus v1.0.0 (https://github.com/wireapp/proteus?tag=v1.0.0#5bb9f3da)
[INFO] [stderr]    Compiling proteus v1.0.0 (https://github.com/sd166/proteus?tag=v1.0.0#5bb9f3da)
[INFO] [stderr]    Compiling cryptobox v1.0.0 (https://github.com/sd166/cryptobox?tag=v1.0.0#27a74ab2)
[INFO] [stderr]    Compiling cryptobox-c v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/lib.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 |   #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^^^^
[INFO] [stdout] 47 |   #[derive(Clone, Copy, Debug, Eq, PartialEq)]
[INFO] [stdout] 48 | / pub enum CBoxIdentityMode {
[INFO] [stdout] 49 | |     Complete = 0,
[INFO] [stdout] 50 | |     Public   = 1
[INFO] [stdout] 51 | | }
[INFO] [stdout]    | |_- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]    --> src/lib.rs:339:1
[INFO] [stdout]     |
[INFO] [stdout] 339 |   #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^^^^
[INFO] [stdout] 340 |   #[derive(Clone, Copy, Debug)]
[INFO] [stdout] 341 | / pub enum CBoxResult {
[INFO] [stdout] 342 | |     Success               = 0,
[INFO] [stdout] 343 | |     StorageError          = 1,
[INFO] [stdout] 344 | |     SessionNotFound       = 2,
[INFO] [stdout] ...   |
[INFO] [stdout] 359 | |     DegeneratedKey        = 17
[INFO] [stdout] 360 | | }
[INFO] [stdout]     | |_- not a function or static
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `CBoxResult: From<proteus::internal::types::DecodeError>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:41:28
[INFO] [stdout]    |
[INFO] [stdout] 41 |         Err(err) => return From::from(err)
[INFO] [stdout]    |                            ^^^^^^^^^^ the trait `From<proteus::internal::types::DecodeError>` is not implemented for `CBoxResult`
[INFO] [stdout] ...
[INFO] [stdout] 75 |         let ident    = match try_unwrap!(Identity::deserialise(id_slice)) {
[INFO] [stdout]    |                              -------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following implementations were found:
[INFO] [stdout]              <CBoxResult as From<CBoxError<S>>>
[INFO] [stdout]              <CBoxResult as From<Utf8Error>>
[INFO] [stdout]              <CBoxResult as From<proteus::DecodeError>>
[INFO] [stdout]              <CBoxResult as From<proteus::EncodeError>>
[INFO] [stdout]    = note: required by `from`
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `CBoxResult: From<proteus::internal::types::EncodeError>` is not satisfied
[INFO] [stdout]    --> src/lib.rs:41:28
[INFO] [stdout]     |
[INFO] [stdout] 41  |         Err(err) => return From::from(err)
[INFO] [stdout]     |                            ^^^^^^^^^^ the trait `From<proteus::internal::types::EncodeError>` is not implemented for `CBoxResult`
[INFO] [stdout] ...
[INFO] [stdout] 102 |         let i = try_unwrap!(Identity::Sec(Cow::Borrowed(ptr2ref(cbox).identity())).serialise());
[INFO] [stdout]     |                 ------------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following implementations were found:
[INFO] [stdout]               <CBoxResult as From<CBoxError<S>>>
[INFO] [stdout]               <CBoxResult as From<Utf8Error>>
[INFO] [stdout]               <CBoxResult as From<proteus::DecodeError>>
[INFO] [stdout]               <CBoxResult as From<proteus::EncodeError>>
[INFO] [stdout]     = note: required by `from`
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:144:59
[INFO] [stdout]     |
[INFO] [stdout] 144 |         let bundle = try_unwrap!(ptr2ref(cbox).new_prekey(PreKeyId::new(pkid)));
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^^^^ expected struct `proteus::internal::keys::PreKeyId`, found struct `PreKeyId`
[INFO] [stdout]     |
[INFO] [stdout]     = note: perhaps two different versions of crate `proteus` are being used?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `CBoxResult: From<proteus::internal::types::EncodeError>` is not satisfied
[INFO] [stdout]    --> src/lib.rs:41:28
[INFO] [stdout]     |
[INFO] [stdout] 41  |         Err(err) => return From::from(err)
[INFO] [stdout]     |                            ^^^^^^^^^^ the trait `From<proteus::internal::types::EncodeError>` is not implemented for `CBoxResult`
[INFO] [stdout] ...
[INFO] [stdout] 145 |         let bytes  = try_unwrap!(bundle.serialise());
[INFO] [stdout]     |                      ------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following implementations were found:
[INFO] [stdout]               <CBoxResult as From<CBoxError<S>>>
[INFO] [stdout]               <CBoxResult as From<Utf8Error>>
[INFO] [stdout]               <CBoxResult as From<proteus::DecodeError>>
[INFO] [stdout]               <CBoxResult as From<proteus::EncodeError>>
[INFO] [stdout]     = note: required by `from`
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:366:37
[INFO] [stdout]     |
[INFO] [stdout] 365 |         match e {
[INFO] [stdout]     |               - this expression has type `CBoxError<S>`
[INFO] [stdout] 366 |             CBoxError::ProteusError(session::Error::RemoteIdentityChanged) => CBoxResult::RemoteIdentityChanged,
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `proteus::internal::session::Error`, found enum `proteus::session::Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `proteus::internal::session::Error<<S as Store>::Error>`
[INFO] [stdout]                found enum `proteus::session::Error<_>`
[INFO] [stdout]     = note: perhaps two different versions of crate `proteus` are being used?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:367:37
[INFO] [stdout]     |
[INFO] [stdout] 365 |         match e {
[INFO] [stdout]     |               - this expression has type `CBoxError<S>`
[INFO] [stdout] 366 |             CBoxError::ProteusError(session::Error::RemoteIdentityChanged) => CBoxResult::RemoteIdentityChanged,
[INFO] [stdout] 367 |             CBoxError::ProteusError(session::Error::InvalidSignature)      => CBoxResult::InvalidSignature,
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `proteus::internal::session::Error`, found enum `proteus::session::Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `proteus::internal::session::Error<<S as Store>::Error>`
[INFO] [stdout]                found enum `proteus::session::Error<_>`
[INFO] [stdout]     = note: perhaps two different versions of crate `proteus` are being used?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:368:37
[INFO] [stdout]     |
[INFO] [stdout] 365 |         match e {
[INFO] [stdout]     |               - this expression has type `CBoxError<S>`
[INFO] [stdout] ...
[INFO] [stdout] 368 |             CBoxError::ProteusError(session::Error::InvalidMessage)        => CBoxResult::InvalidMessage,
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `proteus::internal::session::Error`, found enum `proteus::session::Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `proteus::internal::session::Error<<S as Store>::Error>`
[INFO] [stdout]                found enum `proteus::session::Error<_>`
[INFO] [stdout]     = note: perhaps two different versions of crate `proteus` are being used?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:369:37
[INFO] [stdout]     |
[INFO] [stdout] 365 |         match e {
[INFO] [stdout]     |               - this expression has type `CBoxError<S>`
[INFO] [stdout] ...
[INFO] [stdout] 369 |             CBoxError::ProteusError(session::Error::DuplicateMessage)      => CBoxResult::DuplicateMessage,
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `proteus::internal::session::Error`, found enum `proteus::session::Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `proteus::internal::session::Error<<S as Store>::Error>`
[INFO] [stdout]                found enum `proteus::session::Error<_>`
[INFO] [stdout]     = note: perhaps two different versions of crate `proteus` are being used?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:370:37
[INFO] [stdout]     |
[INFO] [stdout] 365 |         match e {
[INFO] [stdout]     |               - this expression has type `CBoxError<S>`
[INFO] [stdout] ...
[INFO] [stdout] 370 |             CBoxError::ProteusError(session::Error::TooDistantFuture)      => CBoxResult::TooDistantFuture,
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `proteus::internal::session::Error`, found enum `proteus::session::Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `proteus::internal::session::Error<<S as Store>::Error>`
[INFO] [stdout]                found enum `proteus::session::Error<_>`
[INFO] [stdout]     = note: perhaps two different versions of crate `proteus` are being used?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:371:37
[INFO] [stdout]     |
[INFO] [stdout] 365 |         match e {
[INFO] [stdout]     |               - this expression has type `CBoxError<S>`
[INFO] [stdout] ...
[INFO] [stdout] 371 |             CBoxError::ProteusError(session::Error::OutdatedMessage)       => CBoxResult::OutdatedMessage,
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `proteus::internal::session::Error`, found enum `proteus::session::Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `proteus::internal::session::Error<<S as Store>::Error>`
[INFO] [stdout]                found enum `proteus::session::Error<_>`
[INFO] [stdout]     = note: perhaps two different versions of crate `proteus` are being used?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:372:37
[INFO] [stdout]     |
[INFO] [stdout] 365 |         match e {
[INFO] [stdout]     |               - this expression has type `CBoxError<S>`
[INFO] [stdout] ...
[INFO] [stdout] 372 |             CBoxError::ProteusError(session::Error::PreKeyNotFound(_))     => CBoxResult::PreKeyNotFound,
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `proteus::internal::session::Error`, found enum `proteus::session::Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `proteus::internal::session::Error<<S as Store>::Error>`
[INFO] [stdout]                found enum `proteus::session::Error<_>`
[INFO] [stdout]     = note: perhaps two different versions of crate `proteus` are being used?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:373:37
[INFO] [stdout]     |
[INFO] [stdout] 365 |         match e {
[INFO] [stdout]     |               - this expression has type `CBoxError<S>`
[INFO] [stdout] ...
[INFO] [stdout] 373 |             CBoxError::ProteusError(session::Error::PreKeyStoreError(_))   => CBoxResult::StorageError,
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `proteus::internal::session::Error`, found enum `proteus::session::Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `proteus::internal::session::Error<<S as Store>::Error>`
[INFO] [stdout]                found enum `proteus::session::Error<_>`
[INFO] [stdout]     = note: perhaps two different versions of crate `proteus` are being used?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:374:37
[INFO] [stdout]     |
[INFO] [stdout] 365 |         match e {
[INFO] [stdout]     |               - this expression has type `CBoxError<S>`
[INFO] [stdout] ...
[INFO] [stdout] 374 |             CBoxError::ProteusError(session::Error::DegeneratedKey)        => CBoxResult::DegeneratedKey,
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `proteus::internal::session::Error`, found enum `proteus::session::Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `proteus::internal::session::Error<<S as Store>::Error>`
[INFO] [stdout]                found enum `proteus::session::Error<_>`
[INFO] [stdout]     = note: perhaps two different versions of crate `proteus` are being used?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cryptobox-c`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "66d4cc9c0a0baab7c8b5e4ce2998b29b68cbfdb8448fb7152593cbdb89449082", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "66d4cc9c0a0baab7c8b5e4ce2998b29b68cbfdb8448fb7152593cbdb89449082", kill_on_drop: false }`
[INFO] [stdout] 66d4cc9c0a0baab7c8b5e4ce2998b29b68cbfdb8448fb7152593cbdb89449082
